package com.prabhat.webapp.base;

/**
 * @author varunkumar.a
 * 
 * @date 24-Jul-2012
 * 
 * @description This class encapsulates the details every thrown exception in the system should have.
 *
 * @see 
 */
public abstract class BaseException {
	
	private int statusCode;
	private String statusDescription;
	/**
	 * @return the statusCode
	 */
	public int getStatusCode() {
		return statusCode;
	}
	/**
	 * @param statusCode the statusCode to set
	 */
	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}
	/**
	 * @return the statusDescription
	 */
	public String getStatusDescription() {
		return statusDescription;
	}
	/**
	 * @param statusDescription the statusDescription to set
	 */
	public void setStatusDescription(String statusDescription) {
		this.statusDescription = statusDescription;
	}
}
